//
//  Flow.h
//  Core
//
//  Created by Cuong Doan on 3/7/13.
//  Copyright (c) 2013 Cuong Doan. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "DatabaseManager.h"
#import "sqlite3.h"

@interface Flow : NSObject

@property (nonatomic, assign)int UserID;

@property (nonatomic, assign)int FlowInputOrder;

@property (nonatomic, copy)NSString *Description;

@property (nonatomic, assign)double Amount;

@property (nonatomic, assign)int FlowType;

@property (nonatomic, assign)int CatID;

@property (nonatomic, copy)NSDate *FlowDate;

-(id)initWithID:(int)userID andOrder:(int)flowOrder;

-(void)insertFlow;

-(void)updateFlow;

@end
